#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @File  : jieba_psg.py
# @Author: evenvi
# @Date  : 19-4-28
# @Desc  :
import sys
reload(sys)
sys.setdefaultencoding('utf-8')

import jieba.posseg as psg
sent = '水是人类赖以生存的基本物质'

seg_list = psg.cut(sent)
print(u' '.join(['{0}/{1}'.format(w, t) for w, t in seg_list]))